package com.pay.entity.boss;

import java.util.Date;

import com.pay.entity.BaseEntity;
import com.pay.enums.CustomerStatus;
import com.pay.enums.YesNo;

/**
 * Title: 商户
 * Description:
 * Copyright: Copyright (c)2011
 * Company: pay
 * @author xiaojun.yang
 */

public class Customer extends BaseEntity {

	private static final long serialVersionUID = 400220721378382295L;
	private Long enterpriseinfoId; // 企业 信息
	private Long agentId; // 代理商id
	private String agentNo; // 代理商No
	private String salesNo; // 销售编号
	private String customerType; // 商户类型
	private String customerNo; // 商户编号
	private String shortName; // 商户简称
	private String fullName; // 商户全称
	private String mcc; // MCC
	private String bankMcc; // 银行MCC
	private String organizationCode; //所属机构（地区）编码
	private Date createTime; // 创建时间
	private Date openTime; // 开通时间
	private YesNo useCustomPermission; // 使用定制权限

	private String contractNo; // 协议编号
	private Date expTime; // 协议终止日期
	private YesNo isReckonIn; // 是否计入评级考核
	private YesNo isPageContract; // 纸制协议是否到达
	private Date pageContractReceiveDate; // 纸制协议到达时间

	private String linkman; // 联系人
	private String phoneNo; // 业务联系手机号

	private String askForStatus; // 一户一码申请状态
	private Date askForTime; // 一户一码申请时间

	private String needOne2OneCode; // 是否启用一户一码

	private String salesNoOuter; // 代理商销售
	private String mobilePosCount; // 移动机具审核台数
	private String fixturePosCount; // 固定机具审核参数
	private String netPosCount; // 网络机具审核台数
	private String miniPosCount; // 开店宝(i版)审核台数
	private Double applyRate; // 申请费率
	
	private Long processInstanceId; // 流程实例ID
	private CustomerStatus status; // 状态
	private String postCurrent; // 当前岗位
	private String postPrevious; // 上一个岗位
	private String postNext; // 下一个岗位

	private String isCheckInfo; // 是否核实
	private String checkOperator; // 修改人
	private Date checkTime; // 修改时间
	private String checkReason; // 核实拒绝原因
	private Double applyDayAmountLimit; // 交易限额
	private String specialAccessType; // 特殊入网标记

	private String remark1; // 备注1
	private String remark2; // 备注2
	private String auditUser; // 审核人员
	private String commissionType; // 分润类型
	private String marketName; // 批发市场名称

	private String cause; // 原因

	private String isOpenCountyPreferential; // 是否开通县乡优惠
	private String countyPreferentialOrgCode; // 县乡组织机构码

	private String isClain; // 是否为内切商户
	
	public Long getEnterpriseinfoId() {
		return enterpriseinfoId;
	}

	public void setEnterpriseinfoId(Long enterpriseinfoId) {
		this.enterpriseinfoId = enterpriseinfoId;
	}

	public Long getAgentId() {
		return agentId;
	}

	public void setAgentId(Long agentId) {
		this.agentId = agentId;
	}

	public String getAgentNo() {
		return agentNo;
	}

	public void setAgentNo(String agentNo) {
		this.agentNo = agentNo;
	}

	public String getSalesNo() {
		return salesNo;
	}

	public void setSalesNo(String salesNo) {
		this.salesNo = salesNo;
	}

	public String getCustomerType() {
		return customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}

	public String getCustomerNo() {
		return customerNo;
	}

	public void setCustomerNo(String customerNo) {
		this.customerNo = customerNo;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getMcc() {
		return mcc;
	}

	public void setMcc(String mcc) {
		this.mcc = mcc;
	}

	public String getBankMcc() {
		return bankMcc;
	}

	public void setBankMcc(String bankMcc) {
		this.bankMcc = bankMcc;
	}

	public String getOrganizationCode() {
		return organizationCode;
	}

	public void setOrganizationCode(String organizationCode) {
		this.organizationCode = organizationCode;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getOpenTime() {
		return openTime;
	}

	public void setOpenTime(Date openTime) {
		this.openTime = openTime;
	}

	public YesNo getUseCustomPermission() {
		return useCustomPermission;
	}

	public void setUseCustomPermission(YesNo useCustomPermission) {
		this.useCustomPermission = useCustomPermission;
	}

	public String getContractNo() {
		return contractNo;
	}

	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}

	public Date getExpTime() {
		return expTime;
	}

	public void setExpTime(Date expTime) {
		this.expTime = expTime;
	}

	public YesNo getIsReckonIn() {
		return isReckonIn;
	}

	public void setIsReckonIn(YesNo isReckonIn) {
		this.isReckonIn = isReckonIn;
	}

	public YesNo getIsPageContract() {
		return isPageContract;
	}

	public void setIsPageContract(YesNo isPageContract) {
		this.isPageContract = isPageContract;
	}

	public Date getPageContractReceiveDate() {
		return pageContractReceiveDate;
	}

	public void setPageContractReceiveDate(Date pageContractReceiveDate) {
		this.pageContractReceiveDate = pageContractReceiveDate;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getAskForStatus() {
		return askForStatus;
	}

	public void setAskForStatus(String askForStatus) {
		this.askForStatus = askForStatus;
	}

	public Date getAskForTime() {
		return askForTime;
	}

	public void setAskForTime(Date askForTime) {
		this.askForTime = askForTime;
	}

	public String getNeedOne2OneCode() {
		return needOne2OneCode;
	}

	public void setNeedOne2OneCode(String needOne2OneCode) {
		this.needOne2OneCode = needOne2OneCode;
	}

	public String getSalesNoOuter() {
		return salesNoOuter;
	}

	public void setSalesNoOuter(String salesNoOuter) {
		this.salesNoOuter = salesNoOuter;
	}

	public String getMobilePosCount() {
		return mobilePosCount;
	}

	public void setMobilePosCount(String mobilePosCount) {
		this.mobilePosCount = mobilePosCount;
	}

	public String getFixturePosCount() {
		return fixturePosCount;
	}

	public void setFixturePosCount(String fixturePosCount) {
		this.fixturePosCount = fixturePosCount;
	}

	public String getNetPosCount() {
		return netPosCount;
	}

	public void setNetPosCount(String netPosCount) {
		this.netPosCount = netPosCount;
	}

	public String getMiniPosCount() {
		return miniPosCount;
	}

	public void setMiniPosCount(String miniPosCount) {
		this.miniPosCount = miniPosCount;
	}

	public Double getApplyRate() {
		return applyRate;
	}

	public void setApplyRate(Double applyRate) {
		this.applyRate = applyRate;
	}

	public Long getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(Long processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public CustomerStatus getStatus() {
		return status;
	}

	public void setStatus(CustomerStatus status) {
		this.status = status;
	}

	public String getPostCurrent() {
		return postCurrent;
	}

	public void setPostCurrent(String postCurrent) {
		this.postCurrent = postCurrent;
	}

	public String getPostPrevious() {
		return postPrevious;
	}

	public void setPostPrevious(String postPrevious) {
		this.postPrevious = postPrevious;
	}

	public String getPostNext() {
		return postNext;
	}

	public void setPostNext(String postNext) {
		this.postNext = postNext;
	}

	public String getIsCheckInfo() {
		return isCheckInfo;
	}

	public void setIsCheckInfo(String isCheckInfo) {
		this.isCheckInfo = isCheckInfo;
	}

	public String getCheckOperator() {
		return checkOperator;
	}

	public void setCheckOperator(String checkOperator) {
		this.checkOperator = checkOperator;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getCheckReason() {
		return checkReason;
	}

	public void setCheckReason(String checkReason) {
		this.checkReason = checkReason;
	}

	public Double getApplyDayAmountLimit() {
		return applyDayAmountLimit;
	}

	public void setApplyDayAmountLimit(Double applyDayAmountLimit) {
		this.applyDayAmountLimit = applyDayAmountLimit;
	}

	public String getSpecialAccessType() {
		return specialAccessType;
	}

	public void setSpecialAccessType(String specialAccessType) {
		this.specialAccessType = specialAccessType;
	}

	public String getRemark1() {
		return remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark2() {
		return remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

	public String getAuditUser() {
		return auditUser;
	}

	public void setAuditUser(String auditUser) {
		this.auditUser = auditUser;
	}

	public String getCommissionType() {
		return commissionType;
	}

	public void setCommissionType(String commissionType) {
		this.commissionType = commissionType;
	}


	public String getMarketName() {
		return marketName;
	}

	public void setMarketName(String marketName) {
		this.marketName = marketName;
	}

	public String getCause() {
		return cause;
	}

	public void setCause(String cause) {
		this.cause = cause;
	}

	public String getIsOpenCountyPreferential() {
		return isOpenCountyPreferential;
	}

	public void setIsOpenCountyPreferential(String isOpenCountyPreferential) {
		this.isOpenCountyPreferential = isOpenCountyPreferential;
	}

	public String getCountyPreferentialOrgCode() {
		return countyPreferentialOrgCode;
	}

	public void setCountyPreferentialOrgCode(String countyPreferentialOrgCode) {
		this.countyPreferentialOrgCode = countyPreferentialOrgCode;
	}

	public String getIsClain() {
		return isClain;
	}

	public void setIsClain(String isClain) {
		this.isClain = isClain;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Customer [enterpriseinfoId=");
		builder.append(enterpriseinfoId);
		builder.append(", agentId=");
		builder.append(agentId);
		builder.append(", agentNo=");
		builder.append(agentNo);
		builder.append(", salesNo=");
		builder.append(salesNo);
		builder.append(", customerType=");
		builder.append(customerType);
		builder.append(", customerNo=");
		builder.append(customerNo);
		builder.append(", shortName=");
		builder.append(shortName);
		builder.append(", fullName=");
		builder.append(fullName);
		builder.append(", mcc=");
		builder.append(mcc);
		builder.append(", bankMcc=");
		builder.append(bankMcc);
		builder.append(", organizationCode=");
		builder.append(organizationCode);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", openTime=");
		builder.append(openTime);
		builder.append(", useCustomPermission=");
		builder.append(useCustomPermission);
		builder.append(", contractNo=");
		builder.append(contractNo);
		builder.append(", expTime=");
		builder.append(expTime);
		builder.append(", isReckonIn=");
		builder.append(isReckonIn);
		builder.append(", isPageContract=");
		builder.append(isPageContract);
		builder.append(", pageContractReceiveDate=");
		builder.append(pageContractReceiveDate);
		builder.append(", linkman=");
		builder.append(linkman);
		builder.append(", phoneNo=");
		builder.append(phoneNo);
		builder.append(", askForStatus=");
		builder.append(askForStatus);
		builder.append(", askForTime=");
		builder.append(askForTime);
		builder.append(", needOne2OneCode=");
		builder.append(needOne2OneCode);
		builder.append(", salesNoOuter=");
		builder.append(salesNoOuter);
		builder.append(", mobilePosCount=");
		builder.append(mobilePosCount);
		builder.append(", fixturePosCount=");
		builder.append(fixturePosCount);
		builder.append(", netPosCount=");
		builder.append(netPosCount);
		builder.append(", miniPosCount=");
		builder.append(miniPosCount);
		builder.append(", applyRate=");
		builder.append(applyRate);
		builder.append(", processInstanceId=");
		builder.append(processInstanceId);
		builder.append(", status=");
		builder.append(status);
		builder.append(", postCurrent=");
		builder.append(postCurrent);
		builder.append(", postPrevious=");
		builder.append(postPrevious);
		builder.append(", postNext=");
		builder.append(postNext);
		builder.append(", isCheckInfo=");
		builder.append(isCheckInfo);
		builder.append(", checkOperator=");
		builder.append(checkOperator);
		builder.append(", checkTime=");
		builder.append(checkTime);
		builder.append(", checkReason=");
		builder.append(checkReason);
		builder.append(", applyDayAmountLimit=");
		builder.append(applyDayAmountLimit);
		builder.append(", specialAccessType=");
		builder.append(specialAccessType);
		builder.append(", remark1=");
		builder.append(remark1);
		builder.append(", remark2=");
		builder.append(remark2);
		builder.append(", auditUser=");
		builder.append(auditUser);
		builder.append(", commissionType=");
		builder.append(commissionType);
		builder.append(", marketName=");
		builder.append(marketName);
		builder.append(", cause=");
		builder.append(cause);
		builder.append(", isOpenCountyPreferential=");
		builder.append(isOpenCountyPreferential);
		builder.append(", countyPreferentialOrgCode=");
		builder.append(countyPreferentialOrgCode);
		builder.append(", isClain=");
		builder.append(isClain);
		builder.append("]");
		return builder.toString();
	}
}
